package Sort;

import java.util.Arrays;

public class Test {
    public static void main(String[] args) {
        Sorts sorts = new Sorts();
        int[] array = {5, 4, 2, 7, 59, 36, 48, 8, 9, 77};
        sorts.heapSort(array);
        System.out.println(Arrays.toString(array));
    }

    public static void main2(String[] args) {
        Test1 test1 = new Test1();
        int[] array = new int[100000];
        test1.testInitSort(array);
        test1.testInitSort1(array);
        test1.testInitSort2(array);
        test1.testInitSort3(array);
    }

    public static void main1(String[] args) {
        Sorts sorts = new Sorts();
        int[] array = {5, 4, 2, 7, 59, 36, 48, 8, 9, 77};
        // sorts.InsertSort(array);
        // sorts.ShellSort(array);
        sorts.SelectSort(array);
        System.out.println(Arrays.toString(array));
    }
}
